home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / DORWAY.ZIP / DWHOST.DOC < prev    next >
Text File  |  1993-08-30  |  23KB  |  454 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                                   DWHost v3.0
  9.  
  10.             (c) Copyright 1986 - 1992 by J.C. Kilday Associates
  11.  
  12.  
  13.                      Developed at the Northern Lights BBS
  14.  
  15.                       207-761-4782   (v.32bis/VHST)
  16.  
  17.  
  18.  
  19.  
  20.                                Table of Contents
  21.                                -----------------
  22.  
  23.                        Introduction ....................  1
  24.  
  25.                        Description .....................  1
  26.  
  27.                        Advanced Answering Modes ........  2
  28.  
  29.                        Installation ....................  3
  30.  
  31.                        Additional Setup Notes ..........  4
  32.  
  33.                        Operating DW Host ...............  6
  34.  
  35.                        Advanced Features ...............  7
  36.  
  37.                        Support .........................  8
  38.  
  39.  
  40.                                  DW Host v3.0                        Page 1
  41.  
  42.      Introduction
  43.      ------------
  44.  
  45.      DW Host  is  a  specialized  host  communications  program   primarily
  46.      intended to support operations at the  DOS level on the host.   It may
  47.      be interfaced  with other  communications packages  to implement  more
  48.      complex functions.   It is intended for operation with Doorway  (which
  49.      allows nearly  any non-graphics  program to be run from remote).  File
  50.      transfer  operations are  supported directly  from DOS by DWXFER as is
  51.      mentioned  in  the  next  section.    Popular  applications of DW Host
  52.      include  home-to-office  (and  vice  versa)  communications as well as
  53.      operations  between  a  company  home  office  and  its  remote sites.
  54.      Software configuration  and file  maintenance on  the DW Host-equipped
  55.      host are frequent uses.  DW Host  is designed for operation on an  IBM
  56.      PC, XT, AT, PS/2 or a close compatible connected to a Hayes-compatible
  57.      modem or a US Robotics HST.
  58.  
  59.      The complete DW Host package includes the following files:
  60.  
  61.                 DWHost.DOC   - this file
  62.                 DWHost.COM   - executable module
  63.                 DWHost.OVR   - DW Host "overlay" file
  64.                 CONFIG.HLP   - context-sensitive help file
  65.                 HOST.BAT     - optional controlling batch file
  66.                 DO_DW.BAT    - batch file executed by DW Host
  67.                 READ.ME      - quick review information
  68.  
  69.      Description
  70.      -----------
  71.  
  72.      DW Host normally monitors the modem  and upon detecting a ring  answers
  73.      the call while adjusting to the  caller's baud rate.  Speeds of  38,400
  74.      bps down to 300 bps  are supported with the following  comm parameters:
  75.      8 data bits, no parity, 1  stop bit.  Upon successful connect,  DW Host
  76.      greets the caller with a one-line message of your choosing and requests
  77.      entry of a password, also of your choosing.  If the correct password is
  78.      supplied and the callback mode is not in effect, DW Host will  transfer
  79.      control  of  the  next  part  of  the  communications  session to other
  80.      software.  Depending on the configuration option chosen, the caller may
  81.      be dropped  to the  DOS level  (with a DOORWAY command line having been
  82.      invoked to support continued communications).  Or a caller may next see
  83.      another communications application,  such as a  BBS-like package, or  a
  84.      menu of programs that might be run (using the Doorway munu capability).
  85.      If  the correct  password is  not given  to DW Host  in three attempts,
  86.      DW Host hangs up and recycles.
  87.  
  88.      For enhanced security against unauthorized access the callback feature
  89.      is available.   If  the callback  mode is  in effect  when the correct
  90.      password is given, rather than  give the caller immediate access,  the
  91.      program  disconnects  the  caller  and  dials  the  telephone   number
  92.      specified in the configuration data.  Access is granted only if  there
  93.      is  a  successful  connect  at  that  number.    DW Host makes up to 3
  94.      attempts  to  establish  a  connect  (it  calls  a 2nd and 3rd time at
  95.      intervals  of  1  minute  if  no  answer,  a  busy signal, or no modem
  96.      connect).  If no  connection is made on  the 3rd attempt, the  program
  97.  
  98.                                  DW Host                                 Page 2
  99.  
  100.      recycles and sets up to await another call.
  101.  
  102.      If access is  granted to the  DOS level on  the host machine  (through
  103.      DOORWAY), virtually all DOS commands  may be executed and so  may most
  104.      other programs which do not use bit mapped graphics.  A program called
  105.      DWXFER  supports file  transfers while in DOS.  It is included in this
  106.      ZIP.  You might also like to try Chuck Forsberg's DSZ  for Zmodem file
  107.      transfers, rather than the older protocol provided by DWXFER (although
  108.      DWXFER is simpler to use).
  109.  
  110.      A log of call activity (a file called DW.LOG) is created by DW Host so
  111.      that any attempts of unauthorized access to your system may be  noted.
  112.      Calls  accepted  (and   normal  logoffs),  rejected   calls  (password
  113.      failures), and other  connects not resulting  in access to  the system
  114.      (hang  ups  at  the  password  prompt  and  3-minute timeouts awaiting
  115.      password entry) are all recorded in this text file.  The file includes
  116.      the date and time of each call  and how each ended.  It can  be viewed
  117.      using the the DOS TYPE command.  It may be deleted at any time  (using
  118.      DOS ERASE or DEL)  and the program will  start a new one  whenever the
  119.      next entry is to be made.
  120.  
  121.      When DW Host  is awaiting  a call,  a display  including the  date and
  122.      time, some key setup information, and present DW Host status is shown.
  123.      A screen blanker turns off the screen if there is no keyboard activity
  124.      within a 2-minute span.  Striking  any key restores the display.   The
  125.      display  also  is  toggled  on  and  off  by hitting F9.  F10 presents
  126.      information about the program.  F3 allows access to the  configuration
  127.      screen where various DW Host setup options may be specified.  F1 or F2
  128.      cause DW Host to terminate.   F1 leaves the  telephone line in a  BUSY
  129.      state (modem offhook) while F2 leaves the modem onhook.
  130.  
  131.      Advanced Answering Modes
  132.      ------------------------
  133.  
  134.      DW Host normally is set  up to answer a  call on the first  ring.  But
  135.      where there is need  for the host computer  to share a phone  line and
  136.      not intrude on voice calls, special answering modes may be configured.
  137.      "Long Ring" may be configured such that DW Host answers only after the
  138.      specified number  of rings  have been  received.  Alternatively, "Ring
  139.      Back" may be chosen.  This mode requires a caller to dial twice before
  140.      DW Host answers.   The first  call consists  of a  specified number of
  141.      rings (or DW Host can be configured for a non-specific number of rings
  142.      on the first call).  DW Host answers a second call if received  within
  143.      one minute of the first that lasted the proscribed number of rings.
  144.  
  145.      Still another  answering mode,  Triggered Callback,  may be  specified
  146.      where DW Host never answers but, instead, places a call to the  number
  147.      with which it had been  configured.  Almost a combination of  callback
  148.      and Ring Back, Triggered Callback is set up by two calls much the same
  149.      as Ring Back.  The first call  must be of a specified number  of rings
  150.      (or a non-specific number) and  a second call must be  received within
  151.  
  152.  
  153.                                  DW Host v3.0                        Page 3
  154.  
  155.      Advanced Answering Modes (Continued)
  156.      ------------------------------------
  157.  
  158.      one minute of the first.  If so "triggered", DW Host goes offhook  and
  159.      dials out.   Upon connecting  to the  called computer,  a password  is
  160.      required before the  called party is  allowed access.  Just  as in the
  161.      callback process described earlier, 3 attempts at a successful connect
  162.      are made.
  163.  
  164.      Installation
  165.      ------------
  166.  
  167.      DW Host is designed  to operate  under DOS  3.0, and  up, on IBM PC's,
  168.      XT's, AT's and compatibles equipped with Hayes 1200-compatible modems.
  169.      If  DW Host has been  configured to  answer on true  ring detect,  the
  170.      modem cable used must have pin 22 (ring indicate) connected.  Also pin
  171.      20  (Data Transmitter  Ready signal)  must be  connected and the modem
  172.      must be capable of providing  result messages indicating baud rate  at
  173.      connect time (e.g., CONNECT 1200).   Recommended Hayes switch settings
  174.      are:
  175.  
  176.         SW 1 - Up, DTR normal (pin 20 controlled by program)
  177.         SW 2 - Up, Verbal result messages sent (not numeric result codes)
  178.         SW 3 - Dn, Result messages sent (not quiet mode)
  179.         SW 4 - Dn, Commands not echoed back
  180.         SW 5 - Dn, Auto Answer suppressed (controlled by program)
  181.         SW 6 - Up, Carrier detect indicated by modem (not always on)
  182.         SW 7 - Up, Single phone line connection
  183.         SW 8 - Dn, Normal "AT" command set enabled
  184.  
  185.      If you are using a modem other than the Hayes standard, make sure that
  186.      its basic  configurable functions  are set  up the  same as above.  If
  187.      your  modem  does  not  have  switches  for  one  or more of the above
  188.      functions, there should be appropriate AT commands to achieve the same
  189.      state.  Please consult your modem owner's manual.
  190.  
  191.      DW Host  has  been  improved  so  that  the  complication  of   having
  192.      controlling batch  files is  no longer  a requirement.   There  may be
  193.      circumstances, however, that may require you to use a batch file (like
  194.      HOST.BAT,  included  in  the  distribution  archive), but more on that
  195.      later.    To  install  the  software  you  need only copy DW Host.COM,
  196.      DW Host.OVR, and CONFIG.HLP to a directory from which it will be  run.
  197.      The directory you choose should be the default directory when  DW Host
  198.      is invoked.
  199.  
  200.      To configure DW Host, run it for the first time in LOCAL mode so  that
  201.      it won't look for your modem and attempt to initialize it.  Enter  the
  202.      command:   DW Host L  . The  L command  line parameter specifies LOCAL
  203.      mode.    Initially,  the  file  DWCONFIG  cannot  be found, you are so
  204.      informed, and the configuration/setup screen is presented with default
  205.      settings.  If you take some time  with this screen and use the F1  key
  206.      to display the available help for each configuration item, you'll have
  207.      a good understanding of DW Host capabilities when you finish.  Hit the
  208.      F10 key to save the configuration information.  After DW Host  returns
  209.      to its status screen, hit F1 or F2 to quit operations in LOCAL mode.
  210.  
  211.  
  212.                                  DW Host v3.0                        Page 4
  213.  
  214.      Installation (Continued)
  215.      ------------------------
  216.  
  217.      If  all  necessary  configuration  information  has been specified and
  218.      you've set up whatever batch  files and/or other programs that  are to
  219.      be accessed from remote through DW Host, your're ready to try bringing
  220.      up  DW Host  for  its  first  test  run.   The command DW Host with no
  221.      command line parameters should be tried next.  If the code displays  a
  222.      status screen  and "Waiting  for a  call" in  the status field, you're
  223.      ready to try calling in.
  224.  
  225.      As indicated on the screen, you may exit DW Host by pressing F1 or  F2
  226.      (choose F1 if you wish to have the line ring BUSY to anyone calling).
  227.  
  228.      DWCONFIG is a straight ASCII file and can be modified using any  ASCII
  229.      editor so long as its lines are not interchanged and the limits of the
  230.      variables (as specified by the original prompts for the data) are  not
  231.      exceeded.  It  may be necessary  to modify this  file from remote,  in
  232.      which case the DOS EDLIN, or your favorite line editor may be used.
  233.  
  234.      Additional Setup Notes
  235.      ----------------------
  236.  
  237.      Near the bottom of the  configuration screen is a parameter  headed by:
  238.      "Program name  of executable  to be  run ...".   If  this item  is left
  239.      empty, DW Host exits  to DOS upon  successful entry of  a password from
  240.      remote.  Therefore, proper operation  of DW Host requires that a  batch
  241.      file such  as HOST.BAT  be used  as a  controlling batch  file when the
  242.      "program name to  execute" is left  blank on the  configuration screen.
  243.      If you study HOST.BAT,  you will see how  DW Host is controlled and  is
  244.      not permitted to drop to DOS without invoking a communications  program
  245.      or DOORWAY.
  246.  
  247.      A better way  to set up  DW Host is to  enable it to  "shell out" to a
  248.      another program to be executed  when a caller successfully enters  the
  249.      password.  This can be done by specifying the program name to execute,
  250.      perhaps as in the following example:
  251.  
  252.        doorway COM1 /g:on /m:100 /O: /S:* /v:d^U /R:^X /c:dos
  253.  
  254.          (causes Doorway to operate using COM1, allowing the caller
  255.           100 minutes of time after dropping to DOS.  Additionally it
  256.           would allow the running of full-screen, direct screen-writing
  257.           applications from remote, such as Lotus, word processors, Kedit,
  258.           Brief, Vern Buerg's LIST, etc. )
  259.  
  260.      The above setup allows you to  invoke DW Host on the host computer  by
  261.      merely the command DWHost.  When a caller enters the correct password,
  262.      a shell  to do_drwy.bat is invoked  and the simple  batch file invokes
  263.      DOORWAY,  which in turn invokes  COMMAND.COM.  Operations  at the  DOS
  264.      level  from remote  are  sustained  until the  caller gives  the  EXIT
  265.      command.   Upon the EXIT,  control is returned directly to DW Host and
  266.      the code recycles internally to set up for another call.
  267.  
  268.  
  269.                                  DW Host v3.0                        Page 5
  270.  
  271.      Additional Setup Notes (Continued)
  272.      ----------------------------------
  273.  
  274.      This setup also allows DW Host to remain resident during the  "shell."
  275.      This increases memory usage,  since both DOORWAY  and DW Host  will be
  276.      resident  at  the  same time.  For maximum  memory availability  it is
  277.      recommended to use the DROP to BATCH FILE method.
  278.  
  279.      The above shows how DW Host  may be set  up to operate in  conjunction
  280.      with  other software  without using  batch files.  The advantages  are
  281.      simplicity and speed of recycling after a call.  The only disadvantage
  282.      to this kind of setup is that, in the worst case,  about 35K of memory
  283.      is  required  for DW Host during the shell.  If  you cannot afford the
  284.      memory  utilization,  a controlling  batch file  such as  HOST.BAT  is
  285.      recommended.
  286.  
  287.      Operation within HOST.BAT leaves  more of system memory  available for
  288.      applications after DW Host has answered the call and verified  correct
  289.      password entry.  For this  reason, operation with a controlling  batch
  290.      file such as HOST.BAT remains an available option.
  291.  
  292.      If you  use the  batch file  approach to  control of  DW Host, include
  293.      HOST.BAT in the directory where you have installed DW Host.  Modify it
  294.      to suit your environment and  setup as appropriate.  For  example, you
  295.      may wish  to change  "DOORWAY COM1"  to  "DOORWAY COM2"  if  you  have
  296.      specified use of COM2 on the DW Host configuration screen.
  297.  
  298.  
  299.                                  DW Host v3.0                        Page 6
  300.  
  301.      Operating DW Host
  302.      -----------------
  303.  
  304.      If the DW Host drive/directory is the current default, and your  modem
  305.      is turned on, simply enter the following command to run:
  306.  
  307.                              DWHost    (or HOST if employing batch file)
  308.  
  309.      The complete syntax of DW Host is as follows:
  310.  
  311.                          DWHost [ P|L[ C|T ]   [ S ] ]  [ O ]
  312.  
  313.  
  314.      The C and T are optional parameters which invoke the callback mode  or
  315.      triggered  callback  mode  (but  only  if  the  callback mode had been
  316.      configured during the setup of DWCONFIG).  If the S parm is  specified
  317.      alone or  appended to  another parm  such as  C or  T, the "slow" BIOS
  318.      screen  write  method  will  be  used  for  writing to the host system
  319.      screens.  Otherwise, fast screen writing methods are used.  If running
  320.      under a multi-tasker such as Omniview or DoubleDOS, some bleed through
  321.      may be noted if  DW Host is operating in  a background partition.   In
  322.      such cases, specifying the S parm clears up that problem.  Examples:
  323.  
  324.                    DWHost T   or   DWHost CS   or DWHost S
  325.  
  326.          (or  HOST C   or   HOST TS  or  HOST S  if employing batch file)
  327.  
  328.      The L  parm specifies  local mode  (no communication  with a modem) as
  329.      mentioned  in  an  earlier  section.    The  O  parm is used only when
  330.      employing  the  batch  file  option  to  recycle  the code externally.
  331.      DW Host invoked with  the O disconnects  the caller and  exits back to
  332.      the batch file.  When used the O parm must be the only command line
  333.      parm.
  334.  
  335.      The P parm tells DW Host to dial out upon startup.  If a phone  number
  336.      follows the P (with no intervening space), that number is dialed.   Up
  337.      to 3 attempts  are made to  connect at the  given number.   The normal
  338.      prompt and request for password  are presented to the respondent.   If
  339.      no number follows the P, but a callback phone number has been  entered
  340.      on the configuration screen, that number is dialed.
  341.  
  342.      To terminate DW Host operation from the host console, hit F1 or F2. If
  343.      a caller is logged on to the system and currently operating at the DOS
  344.      level, DOORWAY COM1 or DOORWAY COM2 in effect, a more drastic means is
  345.      necessary to terminate DW Host (i.e., the power switch).
  346.  
  347.      As the caller who  has successfully logged on  to the system, you  may
  348.      log off  in an  orderly manner  by entering EXIT from any directory.
  349.  
  350.      If  you  are  using  either  of  the  callback  modes and awaiting the
  351.      callback, you  may answer  DW Host's call  to your  location in one of
  352.      several different ways:
  353.  
  354.       - Set up to receive a call per your modem and/or communications
  355.         program documentation, or
  356.  
  357.  
  358.                                  DW Host v3.0                        Page 7
  359.  
  360.      Operating DW Host (Continued)
  361.      -----------------------------
  362.  
  363.       - If using one of the communications programs which, in terminal mode
  364.         before a connect leaves the Hayes compatible modem in command state
  365.         (e.g., PibTerm,  Qmodem, or ProComm),  you may type  the command
  366.         ATA when the onscreen report of RING is received from your modem,
  367.         or
  368.  
  369.       - You may setup your modem before or during the session to
  370.         Auto-Answer mode by entering ATS0=1 or including ATS0=1 in the
  371.         modem initialization string. If your modem has indicator lights,
  372.         the AA light will be lit after that command takes effect.
  373.  
  374.      When operating in the callback  security mode, DW Host makes the  call
  375.      using the baud rate established during the initial call into  DW Host.
  376.      Upon successful connect at your location, you are immediately  granted
  377.      access to the host machine (just as though you had entered the correct
  378.      password in normal mode).
  379.  
  380.      When calling out under  "Triggered Callback" operation, the  baud rate
  381.      specified in the configuration file DWCONFIG is used.  Upon successful
  382.      connect  you  are  presented  the  configurable one-line greeting that
  383.      normally is presented to callers  when DW Host answers a call.   Entry
  384.      of the correct password is required before dropping to DOS on the host
  385.      machine.
  386.  
  387.      Advanced Features in v3.0
  388.      --------------------------
  389.      This section describes some additional features in DW Host.
  390.  
  391.      o Extended  Comm Port  Specification -  DW Host now  allows you to use
  392.      comm ports  other than  COM1 and  COM2.   If you  specify a  comm port
  393.      greater than 2 on the setup screen (F3), you are prompted for the port
  394.      address and interrupt (IRQ) number.  This technical detail is required
  395.      due to the lack of standardization on COM3 and COM4.
  396.  
  397.      o No  Password Option  - Some  people are  using DW Host  to front-end
  398.      applications which provide their own  security.  When used with  these
  399.      applications,   the   DW Host   password   entry  requirement  becomes
  400.      redundant.   If you  are using  DW Host v3.0  and delete  the password
  401.      entry on the setup screen, then  as soon as a connect is  established,
  402.      DW Host exits (or invokes the application named on the setup  screen).
  403.      The  caller  sees  no  password  entry  prompt  when  no  password  is
  404.      configured in the setup screen.
  405.  
  406.      o Modem Activity  Display - As  an aid in  setup trouble-shooting, all
  407.      strings sent to the modem AND all modem responses are displayed on the
  408.      status  screen  adjacent  to  the  new  label  of  "Modem:".    As new
  409.      characters are sent or received from the modem while it is in  command
  410.      state,  they  are  inserted  into  the  display at the right, shifting
  411.      earlier data to the left in order to keep the same length display.
  412.  
  413.      o F1 or F2 to Quit in Modem Reset Error loop - You may now quit out of
  414.      of DW Host by hitting F1 or F2 when the system is re-cycling due to  a
  415.      modem  reset  error  (earlier  versions  required  hitting the big red
  416.      switch).
  417.  
  418.                                  DW Host v3.0                        Page 8
  419.  
  420.  
  421.      Advanced Features in v3.0 (Cont'd)
  422.      ----------------------------------
  423.  
  424.      o Enhancements to DW  Host v3.0  include:   completely reworked  modem
  425.      control  logic  for  more  reliable  operations.  Occurrences of modem
  426.      reset  errors  are  far  less  frequent  (and  compatibility with more
  427.      modems is provided) in this release.  Comm ports now may be opened  at
  428.      speeds to 38,400 bps.  The ability to dial out to make a connection
  429.      using the new P parm has been added (See "Operating DW Host", Page 6).
  430.  
  431.  
  432.  
  433.                                  DW Host v3.0
  434.  
  435.      DW Host is made available to you as a fully functional package.  It is
  436.      distributed as SHAREWARE.  When you register DOORWAY, DWHOST will also
  437.      be registered.  Check the DOORWAY.DOC, or REGISTER.FRM for information
  438.      on registering this package.
  439.  
  440.  
  441.      Support
  442.      -------
  443.      Support is available to registered  users of DOORWAY through the  main
  444.      message base of DATA WORLD BBS which can be reached at the number
  445.      given below.   Please note  that support  is provided  only for use of
  446.      DW Host on equipment for which it was designed (described earlier).
  447.  
  448.                          DATA WORLD BBS - 615-966-3574   Hayes ULTRA
  449.               PRIVATE REGISTRATION LINE - 615-675-3282   2400/1200
  450.          Note: the private line becomes a support line when you register.
  451.  
  452.      Please note that the triggered callback does not work on all phone
  453.      exchanges due to differences in ring timing.
  454.